package com.yunze.web.controller.yunze.card;

import com.alibaba.fastjson.JSON;
import com.yunze.common.utils.ServletUtils;
import com.yunze.common.utils.ip.IpUtils;
import com.yunze.common.utils.yunze.AesEncryptUtil;
import com.yunze.system.service.impl.yunze.YzCardServiceImpl;
import com.yunze.web.core.config.MyBaseController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Wang
 * @Date: 2025/07/08/8:50
 * @Description:
 */
@Slf4j
@RestController
@RequestMapping("/yunze/batchQueryInfo")
public class YZBatchQueryFlow extends MyBaseController {
    @Resource
    private YzCardServiceImpl yzCardServiceImpl;

    //导出月流量报表数据
    @PostMapping(value = "/exportMonthDataOfYear", produces = {"application/json;charset=UTF-8"})
    public void exportMonthDataOfYear(@RequestBody String Pstr, HttpServletResponse response) throws Exception {
        yzCardServiceImpl.exportMonthDataOfYear(Pstr,response);
    }

}
